Open Dev Kit Documentation :: Game :: Hologram Parameters :: Draw
Game.HologramParameters.Draw( Render Context Render Context*, Position 3D Vector, Scale 3D Vector, Orientation 4D Vector (Quaternion), Time Float, Tint Color Color HDR, Tint Specular Color HDR, Layer Color Color HDR, Texture Diffuse Image*, Texture Diffuse Area Rectangle, Texture Normal Image*, Texture Normal Area Rectangle, Texture Specular Image*, Texture Specular Area Rectangle, Texture Emissive Image*, Texture Emissive Area Rectangle )Builds hologram model based on generative properties and draws it using rendering properties
Parameters
- Render Context Render Context*
- Render context to use for drawing
- Position 3D Vector
- Position of the hologram
- Scale 3D Vector
- Scale of the hologram
- Orientation 4D Vector (Quaternion)
- Orientation of the hologram
- Time Float
- Time value for animations
- Tint Color Color HDR
- Tint color of the hologram
- Tint Specular Color HDR
- Specular tint color of the hologram
- Layer Color Color HDR
- Layer color of the hologram
- Texture Diffuse Image*
- Diffuse texture of the hologram
- Texture Diffuse Area Rectangle
- Area of the diffuse texture to use
- Texture Normal Image*
- Normal map of the hologram
- Texture Normal Area Rectangle
- Area of the normal texture to use
- Texture Specular Image*
- Specular map of the hologram
- Texture Specular Area Rectangle
- Area of the specular texture to use
- Texture Emissive Image*
- Emissive map of the hologram
- Texture Emissive Area Rectangle
- Area of the emissive texture to use
Return Value
- Nothing
Lua Usage
hologramParameters:Draw(renderContext, position, scale, orientation, time, tintColor, tintSpecular, layerColor, textureDiffuse, textureDiffuseArea, textureNormal, textureNormalArea, textureSpecular, textureSpecularArea, textureEmissive, textureEmissiveArea)
If you think anything is missing, please feel free to: submit documentation feedback on this page
