IHeightStickParameters Interface
Namespace: Stride.PhysicsAssembly: Stride.Physics.dll
public interface IHeightStickParameters
Name | Description | |
---|---|---|
Properties | ||
HeightRange | The range of the height. |
|
HeightScale | Used to calculate the height when the height type is Short or Byte. HeightScale should be 1 when the height type is Float. |
|
HeightType | The type of the height. |
Properties
HeightRange
The range of the height.
Vector2 HeightRange { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Remarks
X is min height and Y is max height. (height * HeightScale) should be in this range. Positive and negative heights can not be handle at the same time when the height type is Byte.
HeightScale
Used to calculate the height when the height type is Short or Byte. HeightScale should be 1 when the height type is Float.
float HeightScale { get; }
Property Value
Type | Description |
---|---|
System.Single |
HeightType
The type of the height.
HeightfieldTypes HeightType { get; }
Property Value
Type | Description |
---|---|
HeightfieldTypes |