Class ITransformComponent

Inheritance Relationships

Base Types

Derived Types

Class Documentation

class ITransformComponent : public csp::multiplayer::IPositionComponent, public csp::multiplayer::IRotationComponent, public csp::multiplayer::IScaleComponent

Controls the 3D position (in world space), rotation, and scale of the component.

Subclassed by csp::multiplayer::AnimatedModelSpaceComponent, csp::multiplayer::ButtonSpaceComponent, csp::multiplayer::CollisionSpaceComponent, csp::multiplayer::ExternalLinkSpaceComponent, csp::multiplayer::FiducialMarkerSpaceComponent, csp::multiplayer::FogSpaceComponent, csp::multiplayer::GaussianSplatSpaceComponent, csp::multiplayer::ImageSpaceComponent, csp::multiplayer::StaticModelSpaceComponent, csp::multiplayer::TextSpaceComponent, csp::multiplayer::VideoPlayerSpaceComponent

Public Functions

virtual SpaceTransform GetTransform() const = 0

Gets the transform of this component in world space.

Returns

SpaceTransform : The 3D transform as an object containing position, rotation, and scale.

virtual void SetTransform(const SpaceTransform &InValue) = 0

Sets the transform of this component in world space to the specified value.

Parameters

InValueSpaceTransform : The new value expressed as a SpaceTransform.

Protected Functions

virtual ~ITransformComponent() = default