new Visual()
Object visual parameters, like texture assets, object type of line, frame, etc.
- Source:
Members
asset
Visuals's assets, e.g gltf for generating points, or image for material texture (vtype = AssetType.mesh)
Properties:
Name | Type | Description |
---|---|---|
asset |
string | texture path, mesh, sprite, shader, material, ... |
- Source:
material
Customer material if supported by x-visual is not usable.
vtype: UserMesh
Properties:
Name | Type | Description |
---|---|---|
material |
THREE.Material | customer material if default is not usable |
- Source:
paras
Properties:
Name | Type | Description |
---|---|---|
paras |
object | see docs/v-paras for detials |
- Source:
shader
Shader for x-visual implemented visual types.
vtype accepting a shader flag, see XComponent.ShaderFlag
.
Properties:
Name | Type | Description |
---|---|---|
shader |
string | x-visual shader id |
- Source:
vtype
Properties:
Name | Type | Description |
---|---|---|
vtype |
AssetType | VisualType |
- Source: