-
Notifications
You must be signed in to change notification settings - Fork 11
Splitter Resource (Effects)
Used to split gameModel
effects.
This is a resource, not a component; this means it cannot be used directly in effect
components.
Keyword: splitter
type <enum>
This must be the first attribute specified. One of the following values:
plane
sphere
cylinder
The attributes that can be used depend on the type of splitter.
offset <float> -vary <float>
The offset in the normal direction that this plane is moved.
normal <vector3> -vary <vector3>
The normal direction that defines the plane.
origin <vector3> -vary <vector3>
Where the center of the sphere is.
radius <float> -vary <float>
The radius of the sphere.
origin <vector3> -vary <vector3>
Where the center of the cylinder is.
radius <float> -vary <float>
The radius of the cylinder base.
direction <vector3> -vary <vector3>
The direction the cylinder follows, this is the normal direction of the base.