BillboardRenderer Constructor (String, Boolean) |
Create the billboard renderer component.
Namespace:
GeonBit.ECS.Components.Graphics
Assembly:
GeonBit (in GeonBit.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax public BillboardRenderer(
string texturePath = null,
bool faceCamera = true
)
Parameters
- texturePath (Optional)
- Type: SystemString
Texture to use for this sprite with a new default material. - faceCamera (Optional)
- Type: SystemBoolean
If true, will always face camera. If false will use node's rotation.
See Also