Skip to content

Interface: IXR_IRender_Visual ​

Render visual handle for client objects.

Source ​

src/xrGame/base_client_classes_script.cpp, IRender_Visual binding.

Remarks ​

Visual handles are owned by the object. Cast helpers return borrowed engine interfaces and can return null when the underlying visual does not implement the requested interface.

Methods ​

dcast_PKinematicsAnimated() ​

ts
dcast_PKinematicsAnimated(): Nullable<IKinematicsAnimated>;

Cast the visual to animated kinematics when supported.

Returns ​

Nullable<IKinematicsAnimated>

Animated kinematics interface.

Remarks ​

Returns null when the visual is not animated. The native default implementation returns nullptr.