usdrt::PhysxSchemaPhysxCameraDroneAPI

Defined in usdrt/scenegraph/usd/physxSchema/physxCameraDroneAPI.h

Functions

Variables

class PhysxSchemaPhysxCameraDroneAPI : public usdrt::UsdAPISchemaBase

PhysX drone camera that follows its subject from the air as it drives.

Public Functions

inline explicit PhysxSchemaPhysxCameraDroneAPI(const UsdPrim &prim = UsdPrim())

Construct a PhysxSchemaPhysxCameraDroneAPI on UsdPrim prim. Equivalent to PhysxSchemaPhysxCameraDroneAPI::Get(prim.GetStage(), prim.GetPath()) for a valid prim , but will not immediately throw an error for an invalid prim.

inline explicit PhysxSchemaPhysxCameraDroneAPI(const UsdSchemaBase &schemaObj)

Construct a PhysxSchemaPhysxCameraDroneAPI on the prim held by schemaObj . Should be preferred over PhysxSchemaPhysxCameraDroneAPI(schemaObj.GetPrim()), as it preserves SchemaBase state.

inline virtual ~PhysxSchemaPhysxCameraDroneAPI()

Destructor.

inline operator bool() const

Boolean operator.

Returns

Return true if the contained prim is has this api schema applied using HasAPI, and false otherwise.

inline UsdAttribute GetFollowHeightAttr() const

The height above the subject that the drone attmepts to maintain. e.g. 15 meters.

Declaration

float physxDroneCamera:followHeight

C++ Type

float

Usd Type

SdfValueTypeNames->Float

inline UsdAttribute CreateFollowHeightAttr() const

See GetFollowHeightAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

inline UsdAttribute GetFollowDistanceAttr() const

The distance from the subject that the drone attempts to maintain. e.g. 30 meters.

Declaration

float physxDroneCamera:followDistance

C++ Type

float

Usd Type

SdfValueTypeNames->Float

inline UsdAttribute CreateFollowDistanceAttr() const

See GetFollowDistanceAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

inline UsdAttribute GetMaxDistanceAttr() const

The maximum distance allowed from the subject before the drone resets to the target position. e.g. 100 meters.

Declaration

float physxDroneCamera:maxDistance

C++ Type

float

Usd Type

SdfValueTypeNames->Float

inline UsdAttribute CreateMaxDistanceAttr() const

See GetMaxDistanceAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

inline UsdAttribute GetMaxSpeedAttr() const

The maximum speed the drone is allowed to move. e.g. 20.0 meters/second.

Declaration

float physxDroneCamera:maxSpeed

C++ Type

float

Usd Type

SdfValueTypeNames->Float

inline UsdAttribute CreateMaxSpeedAttr() const

See GetMaxSpeedAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

inline UsdAttribute GetHorizontalVelocityGainAttr() const

The higher the gain, the faster the drone will accelerate towards the target position. e.g. 1.0.

Declaration

float physxDroneCamera:horizontalVelocityGain

C++ Type

float

Usd Type

SdfValueTypeNames->Float

inline UsdAttribute CreateHorizontalVelocityGainAttr() const

See GetHorizontalVelocityGainAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

inline UsdAttribute GetVerticalVelocityGainAttr() const

The higher the gain, the higher the climb or descent rate of the drone to get to the target altitude. e.g. 1.0.

Declaration

float physxDroneCamera:verticalVelocityGain

C++ Type

float

Usd Type

SdfValueTypeNames->Float

inline UsdAttribute CreateVerticalVelocityGainAttr() const

See GetVerticalVelocityGainAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

inline UsdAttribute GetFeedForwardVelocityGainAttr() const

The higher the gain, the more closely the drone will match the velocity of the subject and the more connected it will appear. e.g. 0.1.

Declaration

float physxDroneCamera:feedForwardVelocityGain

C++ Type

float

Usd Type

SdfValueTypeNames->Float

inline UsdAttribute CreateFeedForwardVelocityGainAttr() const

See GetFeedForwardVelocityGainAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

inline UsdAttribute GetVelocityFilterTimeConstantAttr() const

The velocity of the drone is filtered to make it appear as if it is accelerating. e.g. 1.0 seconds.

Declaration

float physxDroneCamera:velocityFilterTimeConstant

C++ Type

float

Usd Type

SdfValueTypeNames->Float

inline UsdAttribute CreateVelocityFilterTimeConstantAttr() const

See GetVelocityFilterTimeConstantAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

inline UsdAttribute GetRotationFilterTimeConstantAttr() const

The angular velocity of the drone is filtered to make it appear as if it is accelerating. e.g. 0.2 seconds.

Declaration

float physxDroneCamera:rotationFilterTimeConstant

C++ Type

float

Usd Type

SdfValueTypeNames->Float

inline UsdAttribute CreateRotationFilterTimeConstantAttr() const

See GetRotationFilterTimeConstantAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

inline UsdAttribute GetPositionOffsetAttr() const

An offset vector from the subject origin at which the drone looks. e.g. (0.0 m, 0.0 m, 0.0 m)

Declaration

float3 physxDroneCamera:positionOffset

C++ Type

GfVec3f

Usd Type

SdfValueTypeNames->Float3

inline UsdAttribute CreatePositionOffsetAttr() const

See GetPositionOffsetAttr(), and also Create vs Get Property Methods for when to use Get vs Create. If specified, author defaultValue as the attribute’s default, sparsely (when it makes sense to do so) if writeSparsely is true - the default for writeSparsely is false.

UsdPrim GetPrim() const

Return this schema object’s held prim.

SdfPath GetPath() const

Return the SdfPath to this schema object’s held prim.

Public Static Functions

static inline PhysxSchemaPhysxCameraDroneAPI Apply(const UsdPrim &prim)

Applies this single-apply API schema to the given prim. This information is stored by adding “PhysxCameraDroneAPI” to the token-valued, listOp metadata apiSchemas on the prim.

See also

UsdPrim::GetAppliedSchemas()

See also

UsdPrim::HasAPI()

See also

UsdPrim::ApplyAPI()

See also

UsdPrim::RemoveAPI()

Returns

A valid PhysxSchemaPhysxCameraDroneAPI object is returned upon success. An invalid (or empty) PhysxSchemaPhysxCameraDroneAPI object is returned upon failure. See UsdPrim::ApplyAPI() for conditions resulting in failure.

Public Static Attributes

static const UsdSchemaType schemaType = UsdSchemaType::SingleApplyAPI

Compile time constant representing what kind of schema this class is.

See also

UsdSchemaType

Protected Functions

inline const TfToken &_GetInstanceName() const

Returns the instance name of the API schema object belonging to a multiple-apply API schema.

The returned instance name will be empty for non-applied and single-apply API schemas.