Class ProductPresentationTransform
Defines an explicit local transform for a product presentation visual.
public sealed class ProductPresentationTransform
- Inheritance
-
ProductPresentationTransform
- Inherited Members
- Extension Methods
Remarks
Presentation transforms are applied to S1API's cloned visual root. Omit a transform override to preserve the position, rotation, and scale authored by the provider.
Constructors
ProductPresentationTransform(Vector3, Vector3, Vector3)
Initializes a product presentation transform.
public ProductPresentationTransform(Vector3 localPosition, Vector3 localEulerAngles, Vector3 localScale)
Parameters
localPositionVector3The cloned visual root's local position.
localEulerAnglesVector3The cloned visual root's local Euler rotation.
localScaleVector3The cloned visual root's local scale.
Properties
LocalEulerAngles
Gets the cloned visual root's local Euler rotation.
public Vector3 LocalEulerAngles { get; }
Property Value
- Vector3
LocalPosition
Gets the cloned visual root's local position.
public Vector3 LocalPosition { get; }
Property Value
- Vector3
LocalScale
Gets the cloned visual root's local scale.
public Vector3 LocalScale { get; }
Property Value
- Vector3