DrawableBuilder Type
Example
draw {
mesh myMesh
at 0f 2f 0f
withAlbedo Color.Gold
withMetallic 1.0f
}
Constructors
| Constructor |
Description
|
|
|
Instance members
| Instance member |
Description
|
Sets the local position using individual coordinates.
|
|
|
|
|
|
|
|
|
|
Full Usage:
rotatedBy rotation
Parameters:
Quaternion
Returns: DrawState
Modifiers: inline |
|
Full Usage:
rotatedByYawPitchRoll yaw pitch roll
Parameters:
float32
-
Rotation around the Y-axis (radians).
pitch : float32
-
Rotation around the X-axis (radians).
roll : float32
-
Rotation around the Z-axis (radians).
Returns: DrawState
Modifiers: inline |
Multiplies the current local rotation using Euler angles (Yaw, Pitch, Roll).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Sets material rendering flags (e.g. Transparent, DoubleSided, Unlit).
|
|
|
Full Usage:
withMetallic metallic
Parameters:
float32
Returns: DrawState
Modifiers: inline |
Sets the metallic factor (0.0 = Dielectric, 1.0 = Pure Metal).
|
Full Usage:
withRoughness roughness
Parameters:
float32
Returns: DrawState
Modifiers: inline |
Sets the roughness factor (0.0 = Perfectly Smooth, 1.0 = Maximally Rough).
|
|
|
|
|
Mibo