Class: GrassNodeStruct
Hierarchy
↳
GrassNodeStruct
Constructors
Properties
Methods
Constructors
constructor
• new GrassNodeStruct(): GrassNodeStruct
Returns
Inherited from
Properties
grassCount
• grassCount: number
= 1
Defined in
packages/graphic/renderer/GrassRenderer.ts:9
grassHSegment
• grassHSegment: number
= 1
Defined in
packages/graphic/renderer/GrassRenderer.ts:10
grassWight
• grassWight: number
= 2
Defined in
packages/graphic/renderer/GrassRenderer.ts:11
grassHeigh
• grassHeigh: number
= 4
Defined in
packages/graphic/renderer/GrassRenderer.ts:12
grassX
• grassX: number
= 0
Defined in
packages/graphic/renderer/GrassRenderer.ts:13
grassY
• grassY: number
= 0
Defined in
packages/graphic/renderer/GrassRenderer.ts:14
grassZ
• grassZ: number
= 0
Defined in
packages/graphic/renderer/GrassRenderer.ts:15
grassRotation
• grassRotation: number
= 0
Defined in
packages/graphic/renderer/GrassRenderer.ts:16
Methods
getValueSize
▸ getValueSize(value
): any
get any type value memory size
Parameters
Name | Type | Description |
---|---|---|
value | any | any type value |
Returns
any
Inherited from
DynamicDrawStruct.getValueSize
Defined in
Ref
▸ Ref<T
>(c
): { name
: string
; type
: string
}[]
Type parameters
Name | Type |
---|---|
T | extends Struct |
Parameters
Name | Type |
---|---|
c | Ctor <T > |
Returns
{ name
: string
; type
: string
}[]
Inherited from
Defined in
Get
▸ Get<T
>(c
): Struct
Type parameters
Name | Type |
---|---|
T | extends Struct |
Parameters
Name | Type |
---|---|
c | Ctor <T > |
Returns
Struct
Inherited from
Defined in
GetSize
▸ GetSize<T
>(c
): number
get any struct memory size
Type parameters
Name | Type |
---|---|
T | extends Struct |
Parameters
Name | Type |
---|---|
c | Ctor <T > |
Returns
number
Inherited from
Defined in
getValueType
▸ getValueType(): { name
: string
; type
: string
}[]
get reflection name
Returns
{ name
: string
; type
: string
}[]
Inherited from
DynamicDrawStruct.getValueType