Script v1.4.4.0
Engine v7.0.0.2
- General
- Entity
- Node
- Scenegraph
- Lighting
- Camera
- Shape
- getGeometry
- getHasShaderParameter
- getMaterial
- getNumMaterials
- getShaderParameter
- getSplitType
- setMaterial
- setReflectionMapObjectMask
- setShaderParameter
- Particle System
- Physics
- Spline
- Animation
- Overlays
- Sound
- Input
- XML
- Network
- Callbacks
- Text Rendering
- Terrain Detail
- Tire Track
- Editor
- Rendering
- String
- Math
- I3D
- Fillplanes
Foundation Reference
setShaderParameter
DescriptionSet shader parameterDefinition
setShaderParameter(integer shapeId, string parameterName, float x, float y, float z, float w, boolean shared)Arguments
integer | shapeId | shape id |
string | parameterName | the name of the parameter |
float | x | x value |
float | y | y value |
float | z | z value |
float | w | w value |
boolean | shared | if true, the value is applied to all shapes with the same material |