One Logo Pool Ball
USDKit · IOS API REFERENCE

USDPrim.Property

struct · iOS 27.0+ · SDK 27.1

struct Property

A named property on a prim, which is either an attribute or a relationship.

Members (17)

get · iOS 27.0+

isAuthored

TypeScript
get isAuthored(): boolean
Swift declaration
var isAuthored: Bool { get }

A Boolean value that indicates whether this property has any authored opinions.

get · iOS 27.0+

description

TypeScript
get description(): string
Swift declaration
var description: String { get }

A summary description of this property.

get · iOS 27.0+

name

TypeScript
get name(): USDToken
Swift declaration
var name: USDToken { get }

The name of this property. A property's name is the last component of its ``path``. `name` is equivalent to the ``USDLayer.Path/name`` of that path.

get · iOS 27.0+

path

TypeScript
get path(): USDLayer_Path
Swift declaration
var path: USDLayer.Path { get }

The complete scene path to this property, relative to its stage.

get · iOS 27.0+

prim

TypeScript
get prim(): USDPrim
Swift declaration
var prim: USDPrim { get }

The nearest prim that contains this property.

get · iOS 27.0+

stage

TypeScript
get stage(): USDStage
Swift declaration
var stage: USDStage { get }

The stage that owns this property. A property's state and validity is connected to its stage. A property becomes invalid when the lifetime of its stage ends. It can also become invalid when the stage is modified.

get · iOS 27.0+

isValid

TypeScript
get isValid(): boolean
Swift declaration
var isValid: Bool { get }

A Boolean value indicating whether this property is valid. A property's validity is connected to a ``USDStage``. A property becomes invalid when the lifetime of its stage ends. A property will also expire if its stage no longer defines a value for the property. `isValid` is false if this property has expired.

get · iOS 27.0+

baseName

TypeScript
get baseName(): USDToken
Swift declaration
var baseName: USDToken { get }

The name of this property without its namespace prefix.

get · iOS 27.0+

isCustom

TypeScript
get isCustom(): boolean
Swift declaration
var isCustom: Bool { get nonmutating set }

A Boolean value that indicates whether this property is a custom property not defined by a schema.

set · iOS 27.0+

isCustom

TypeScript
set isCustom(value: boolean)
Swift declaration
var isCustom: Bool { get nonmutating set }

A Boolean value that indicates whether this property is a custom property not defined by a schema.

get · iOS 27.0+

primPath

TypeScript
get primPath(): USDLayer_Path
Swift declaration
var primPath: USDLayer.Path { get }

The complete path to the nearest prim that contains this property. `primPath` is the ``USDPrim/path`` of this property's ``prim``.

get · iOS 27.0+

isDefined

TypeScript
get isDefined(): boolean
Swift declaration
var isDefined: Bool { get }

A Boolean value that indicates whether this property has a defining specification on the stage.

get · iOS 27.0+

namespace

TypeScript
get namespace(): USDToken
Swift declaration
var namespace: USDToken { get }

The namespace prefix of this property's name, or an empty token if it has none.

init · iOS 27.0+

init

TypeScript
static init(): USDPrim_Property
Swift declaration
init()

An invalid property handle.

init · iOS 27.0+

init

TypeScript
static init63742(object: USDStage_Object): (USDPrim_Property) | null
Swift declaration
init?(_ object: USDStage.Object)

Casts an object handle to a property handle. Returns `nil` if the object is not an attribute or a relationship.

init · iOS 27.0+

init

TypeScript
static init17027(relationship: USDPrim_Relationship): USDPrim_Property
Swift declaration
init(_ relationship: USDPrim.Relationship)
init · iOS 27.0+

init

TypeScript
static init8511(object: USDPrim_Attribute): USDPrim_Property
Swift declaration
init(_ object: USDPrim.Attribute)

Casts an attribute handle to a property handle.

Skipped declarations

No declarations were skipped in this snapshot.

All USDKit types →