Class RadialView
RadialViewPoser solver locks a tag-along type object within a view cone
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Solvers
Assembly: cs.temp.dll.dll
Syntax
public class RadialView : Solver, MonoBehaviour
Properties
AspectV
Apply a different clamp to vertical FOV than horizontal. Vertical = Horizontal * AspectV.
Declaration
public float AspectV { get; set; }
Property Value
Type | Description |
---|---|
Single |
AspectV
Apply a different clamp to vertical FOV than horizontal. Vertical = Horizontal * AspectV.
Declaration
public float AspectV { get; set; }
Property Value
Type | Description |
---|---|
Single |
FixedVerticalPosition
Offset amount of the vertical position.
Declaration
public float FixedVerticalPosition { get; set; }
Property Value
Type | Description |
---|---|
Single |
FixedVerticalPosition
Offset amount of the vertical position.
Declaration
public float FixedVerticalPosition { get; set; }
Property Value
Type | Description |
---|---|
Single |
IgnoreAngleClamp
Option to ignore angle clamping.
Declaration
public bool IgnoreAngleClamp { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IgnoreAngleClamp
Option to ignore angle clamping.
Declaration
public bool IgnoreAngleClamp { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IgnoreDistanceClamp
Option to ignore distance clamping.
Declaration
public bool IgnoreDistanceClamp { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
IgnoreDistanceClamp
Option to ignore distance clamping.
Declaration
public bool IgnoreDistanceClamp { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
MaxDistance
Max distance from eye to element.
Declaration
public float MaxDistance { get; set; }
Property Value
Type | Description |
---|---|
Single |
MaxDistance
Max distance from eye to element.
Declaration
public float MaxDistance { get; set; }
Property Value
Type | Description |
---|---|
Single |
MaxViewDegrees
The element will stay at least this close to the center of view.
Declaration
public float MaxViewDegrees { get; set; }
Property Value
Type | Description |
---|---|
Single |
MaxViewDegrees
The element will stay at least this close to the center of view.
Declaration
public float MaxViewDegrees { get; set; }
Property Value
Type | Description |
---|---|
Single |
MinDistance
Min distance from eye to position element around, i.e. the sphere radius.
Declaration
public float MinDistance { get; set; }
Property Value
Type | Description |
---|---|
Single |
MinDistance
Min distance from eye to position element around, i.e. the sphere radius.
Declaration
public float MinDistance { get; set; }
Property Value
Type | Description |
---|---|
Single |
MinViewDegrees
The element will stay at least this far away from the center of view.
Declaration
public float MinViewDegrees { get; set; }
Property Value
Type | Description |
---|---|
Single |
MinViewDegrees
The element will stay at least this far away from the center of view.
Declaration
public float MinViewDegrees { get; set; }
Property Value
Type | Description |
---|---|
Single |
OrientToReferenceDirection
If true, element will orient to ReferenceDirection, otherwise it will orient to ref position.
Declaration
public bool OrientToReferenceDirection { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
OrientToReferenceDirection
If true, element will orient to ReferenceDirection, otherwise it will orient to ref position.
Declaration
public bool OrientToReferenceDirection { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
ReferenceDirection
Which direction to position the element relative to: HeadOriented rolls with the head, HeadFacingWorldUp view direction but ignores head roll, and HeadMoveDirection uses the direction the head last moved without roll.
Declaration
public RadialViewReferenceDirection ReferenceDirection { get; set; }
Property Value
Type | Description |
---|---|
RadialViewReferenceDirection |
ReferenceDirection
Which direction to position the element relative to: HeadOriented rolls with the head, HeadFacingWorldUp view direction but ignores head roll, and HeadMoveDirection uses the direction the head last moved without roll.
Declaration
public RadialViewReferenceDirection ReferenceDirection { get; set; }
Property Value
Type | Description |
---|---|
RadialViewReferenceDirection |
UseFixedVerticalPosition
Ignore vertical movement and lock the Y position of the object.
Declaration
public bool UseFixedVerticalPosition { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
UseFixedVerticalPosition
Ignore vertical movement and lock the Y position of the object.
Declaration
public bool UseFixedVerticalPosition { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
SolverUpdate()
Declaration
public override void SolverUpdate()
Overrides
SolverUpdate()
Declaration
public override void SolverUpdate()