Class MeshShapeBlock
Hierarchy (View Summary)
- WebXRSpatialLayerType
- MeshShapeBlock
Implements
- IShapeBlock
Properties
serialized Cached Data
Gets or sets a boolean indicating that this block should serialize its cached data
use Mesh Color For Color
Gets or sets a boolean indicating if the mesh colors should be used for particle color
use Mesh Normals For Direction
Gets or sets a boolean indicating if the mesh normals should be used for particle direction
world Space
Gets or sets a boolean indicating if the coordinates should be in world space (local space by default)
Accessors
direction1
-
get direction1(): NodeParticleConnectionPoint
Gets the direction1 input component
Returns NodeParticleConnectionPoint
direction2
-
get direction2(): NodeParticleConnectionPoint
Gets the direction2 input component
Returns NodeParticleConnectionPoint
is Using Cached Data
-
get isUsingCachedData(): boolean
Gets a boolean indicating if the block is using cached data
Returns boolean
mesh
-
get mesh(): Nullable<Mesh>
Gets or sets the mesh to use to get vertex data
Returns Nullable<Mesh>
-
set mesh(value: Nullable<Mesh>): void
Parameters
- value: Nullable<Mesh>
Returns void
output
-
get output(): NodeParticleConnectionPoint
Gets the output component
Returns NodeParticleConnectionPoint
particle
-
get particle(): NodeParticleConnectionPoint
Gets the particle component
Returns NodeParticleConnectionPoint
Methods
_ build
-
Builds the block
Parameters
- state: NodeParticleBuildState
defines the build state
Returns void
- state: NodeParticleBuildState
_ deserialize
-
Parameters
- serializationObject: any
Returns void
clean Data
-
Remove stored data
Returns void
get Class Name
-
Gets the current class name
Returns string
the class name
serialize
-
Serializes this block in a JSON representation
Returns any
the serialized block object
Defines a block used to generate particle shape from mesh geometry data