ByteHeightStickArraySource Class
Namespace: Stride.Physics
Assembly: Stride.Physics.dll
System.Object →
ByteHeightStickArraySource
Derived from ByteHeightStickArraySource:
[DataContract]
[Display("Byte", null)]
public class ByteHeightStickArraySource : IHeightStickArraySource, IHeightStickParameters
|
Improve this Doc
View Source
Properties
HeightRange
[DataMember(20)]
public Vector2 HeightRange { get; set; }
Property Value
HeightScale
public float HeightScale { get; }
Property Value
Type |
Description |
System.Single |
|
HeightScaleCalculator
Select how to calculate HeightScale.
[DataMember(30)]
[Display("HeightScale", null, Expand = ExpandRule.Always)]
public IHeightScaleCalculator HeightScaleCalculator { get; set; }
Property Value
HeightStickSize
[DataMember(10)]
[Display("Size", null)]
public Int2 HeightStickSize { get; set; }
Property Value
HeightType
public HeightfieldTypes HeightType { get; }
Property Value
InitialByte
The value to fill the height stick array.
[DataMember(40)]
[DataMemberRange(0, 255, 1, 10, 0)]
public byte InitialByte { get; set; }
Property Value
Type |
Description |
System.Byte |
|
|
Improve this Doc
View Source
Methods
CopyTo<T>(UnmanagedArray<T>, Int32)
public void CopyTo<T>(UnmanagedArray<T> heightStickArray, int index)
where T : struct
Parameters
Type |
Name |
Description |
UnmanagedArray<T> |
heightStickArray |
|
System.Int32 |
index |
|
Type Parameters
IsValid()
Returns
Type |
Description |
System.Boolean |
|
Match(Object)
public bool Match(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
Extension Methods