Entity.GlobalTransform Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Computes the transform of this entity in global space, as used for rendering.
public:
property Microsoft::Azure::RemoteRendering::Transform GlobalTransform { Microsoft::Azure::RemoteRendering::Transform get(); };
public Microsoft.Azure.RemoteRendering.Transform GlobalTransform { get; }
member this.GlobalTransform : Microsoft.Azure.RemoteRendering.Transform
Public ReadOnly Property GlobalTransform As Transform
Property Value
Remarks
The client-side API stores only local transform data, so internally this function needs to compute the global position by traversing up the hierarchy. Accordingly, this is a computational intensive function that should only be called when needed for a selected set of entities. However, this function is still much faster than traversing the entity hierarchy manually in client code. There is no way to set the global transform of an entity.