Skip to content

Commit e9d9715

Browse files
blevinpixar-oss
authored andcommitted
UsdRi: Add deprecation notices for coordinate system API points.
Clients should use UsdShadeCoordSysAPI instead. (Internal change: 2361541)
1 parent 004e65e commit e9d9715

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pxr/usd/usdRi/statementsAPI.h

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,9 @@ class UsdRiStatementsAPI : public UsdAPISchemaBase
278278
// --------------------------------------------------------------------- //
279279
// SetCoordinateSystem
280280
// --------------------------------------------------------------------- //
281+
/// \deprecated This API will be removed in a future release. Clients
282+
/// should use UsdShadeCoordSysAPI instead.
283+
///
281284
/// Sets the "ri:coordinateSystem" attribute to the given string value,
282285
/// creating the attribute if needed. That identifies this prim as providing
283286
/// a coordinate system, which can be retrieved via
@@ -292,6 +295,9 @@ class UsdRiStatementsAPI : public UsdAPISchemaBase
292295
// --------------------------------------------------------------------- //
293296
// GetCoordinateSystem
294297
// --------------------------------------------------------------------- //
298+
/// \deprecated This API will be removed in a future release. Clients
299+
/// should use UsdShadeCoordSysAPI instead.
300+
///
295301
/// Returns the value in the "ri:coordinateSystem" attribute if it exists.
296302
///
297303
USDRI_API
@@ -300,6 +306,9 @@ class UsdRiStatementsAPI : public UsdAPISchemaBase
300306
// --------------------------------------------------------------------- //
301307
// HasCoordinateSystem
302308
// --------------------------------------------------------------------- //
309+
/// \deprecated This API will be removed in a future release. Clients
310+
/// should use UsdShadeCoordSysAPI instead.
311+
///
303312
/// Returns true if the underlying prim has a ri:coordinateSystem opinion.
304313
///
305314
USDRI_API
@@ -308,6 +317,9 @@ class UsdRiStatementsAPI : public UsdAPISchemaBase
308317
// --------------------------------------------------------------------- //
309318
// SetScopedCoordinateSystem
310319
// --------------------------------------------------------------------- //
320+
/// \deprecated This API will be removed in a future release. Clients
321+
/// should use UsdShadeCoordSysAPI instead.
322+
///
311323
/// Sets the "ri:scopedCoordinateSystem" attribute to the given string
312324
/// value, creating the attribute if needed. That identifies this prim as
313325
/// providing a coordinate system, which can be retrieved via
@@ -324,6 +336,9 @@ class UsdRiStatementsAPI : public UsdAPISchemaBase
324336
// --------------------------------------------------------------------- //
325337
// GetScopedCoordinateSystem
326338
// --------------------------------------------------------------------- //
339+
/// \deprecated This API will be removed in a future release. Clients
340+
/// should use UsdShadeCoordSysAPI instead.
341+
///
327342
/// Returns the value in the "ri:scopedCoordinateSystem" attribute if it
328343
/// exists.
329344
///
@@ -333,6 +348,9 @@ class UsdRiStatementsAPI : public UsdAPISchemaBase
333348
// --------------------------------------------------------------------- //
334349
// HasScopedCoordinateSystem
335350
// --------------------------------------------------------------------- //
351+
/// \deprecated This API will be removed in a future release. Clients
352+
/// should use UsdShadeCoordSysAPI instead.
353+
///
336354
/// Returns true if the underlying prim has a ri:scopedCoordinateSystem
337355
/// opinion.
338356
///
@@ -342,6 +360,9 @@ class UsdRiStatementsAPI : public UsdAPISchemaBase
342360
// --------------------------------------------------------------------- //
343361
// GetModelCoordinateSystems
344362
// --------------------------------------------------------------------- //
363+
/// \deprecated This API will be removed in a future release. Clients
364+
/// should use UsdShadeCoordSysAPI instead.
365+
///
345366
/// Populates the output \p targets with the authored
346367
/// ri:modelCoordinateSystems, if any. Returns true if the query was
347368
/// successful.
@@ -352,6 +373,9 @@ class UsdRiStatementsAPI : public UsdAPISchemaBase
352373
// --------------------------------------------------------------------- //
353374
// GetModelScopedCoordinateSystems
354375
// --------------------------------------------------------------------- //
376+
/// \deprecated This API will be removed in a future release. Clients
377+
/// should use UsdShadeCoordSysAPI instead.
378+
///
355379
/// Populates the output \p targets with the authored
356380
/// ri:modelScopedCoordinateSystems, if any. Returns true if the query was
357381
/// successful.

0 commit comments

Comments
 (0)