Constraints
: TwoGrabPlaneConstraints
[Get][Set] |
Gets or sets the TwoGrabPlaneConstraints for this transformer.
If constraints have already been assigned through the Editor or through InjectOptionalConstraints(TwoGrabPlaneConstraints), this assignment will override them.
Signature
TwoGrabPlaneConstraints Oculus.Interaction.TwoGrabPlaneTransformer.Constraints |
BeginTransform
()
|
Implementation of ITransformer.BeginTransform; for details, please refer to the related documentation provided for that interface.
Signature
void Oculus.Interaction.TwoGrabPlaneTransformer.BeginTransform() Returns void |
EndTransform
()
|
Implementation of ITransformer.EndTransform; for details, please refer to the related documentation provided for that interface.
Signature
void Oculus.Interaction.TwoGrabPlaneTransformer.EndTransform() Returns void |
Initialize
(
grabbable
)
|
Implementation of ITransformer.Initialize(IGrabbable); for details, please refer to the related documentation provided for that interface.
Signature
void Oculus.Interaction.TwoGrabPlaneTransformer.Initialize(IGrabbable grabbable) Parameters grabbable: IGrabbableReturns void |
InjectOptionalConstraints
(
constraints
)
|
Sets the TwoGrabPlaneConstraints for a dynamically instantiated TwoGrabPlaneTransformer.
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.TwoGrabPlaneTransformer.InjectOptionalConstraints(TwoGrabPlaneConstraints constraints) Parameters constraints: TwoGrabPlaneConstraintsReturns void |
InjectOptionalPlaneTransform
(
planeTransform
)
|
Injects all dependencies for a dynamically instantiated TwoGrabPlaneTransformer; effectively wraps InjectOptionalConstraints(TwoGrabPlaneConstraints).
This method exists to support Interaction SDK's dependency injection pattern and is not needed for typical Unity Editor-based usage.
Signature
void Oculus.Interaction.TwoGrabPlaneTransformer.InjectOptionalPlaneTransform(Transform planeTransform) Parameters planeTransform: TransformReturns void |
UpdateTransform
()
|
Implementation of ITransformer.UpdateTransform; for details, please refer to the related documentation provided for that interface.
Signature
void Oculus.Interaction.TwoGrabPlaneTransformer.UpdateTransform() Returns void |
TwoGrabPlane
(
p0
, p1
, planeNormal
)
|
Signature
static TwoGrabPlaneState Oculus.Interaction.TwoGrabPlaneTransformer.TwoGrabPlane(Vector3 p0, Vector3 p1, Vector3 planeNormal) Parameters p0: Vector3p1: Vector3planeNormal: Vector3Returns TwoGrabPlaneState |
MaxScale
: FloatConstraint |
Sets the maximum allowed scale the TwoGrabPlaneTransformer can apply to its target.
Scale constraints (MaxScale and MinScale) specifically constrain the local X scale of the target, keeping the ratio of that dimension to the other local scale dimensions constant.
Signature
FloatConstraint Oculus.Interaction.TwoGrabPlaneTransformer.TwoGrabPlaneConstraints.MaxScale |
MaxY
: FloatConstraint |
Sets the minimum allowable value in a constraint operation along the Y direction.
For more information, see TransformerUtils.ConstrainAlongDirection(Vector3, Vector3, Vector3, FloatConstraint, FloatConstraint).
Signature
FloatConstraint Oculus.Interaction.TwoGrabPlaneTransformer.TwoGrabPlaneConstraints.MaxY |
MinScale
: FloatConstraint |
Sets the minimum allowed scale the TwoGrabPlaneTransformer can apply to its target.
Scale constraints (MaxScale and MinScale) specifically constrain the local X scale of the target, keeping the ratio of that dimension to the other local scale dimensions constant.
Signature
FloatConstraint Oculus.Interaction.TwoGrabPlaneTransformer.TwoGrabPlaneConstraints.MinScale |
MinY
: FloatConstraint |
Sets the maximum allowable value in a constraint operation along the Y direction.
For more information, see TransformerUtils.ConstrainAlongDirection(Vector3, Vector3, Vector3, FloatConstraint, FloatConstraint).
Signature
FloatConstraint Oculus.Interaction.TwoGrabPlaneTransformer.TwoGrabPlaneConstraints.MinY |