Decal Class |
Namespace: Rhino.Render
The Decal type exposes the following members.
Name | Description | |
---|---|---|
CRC |
The decal CRC identifies a decal by its state. Multiple decals which would be
exactly the same would have the same CRC and are culled from the system.
If you store this value with the intention of using it to find the decal again
later, you must update your stored value whenever the decal state changes.
You can detect when a decal changes by watching for the OnUserDataTransformed event.
| |
DecalMapping | Obsolete.
Gets the decal's mapping.
| |
DecalProjection | Obsolete.
Gets the decal's projection. Used only when mapping is planar.
| |
EndLatitude |
Gets the end angle of the decal's arc of latitude or 'horizontal sweep'. This is actually a LONGITUDINAL angle. Only used when mapping is cylindrical or spherical.
This is deprecated in favor of HorzSweep().
| |
EndLongitude |
Gets the end angle of the decal's arc of longitude or 'vertical sweep'. This is actually a LATITUDINAL angle. Only used when mapping is spherical.
This is deprecated in favor of VertSweep().
| |
Height |
Gets the height of the decal. Only used when mapping is cylindrical.
| |
Mapping |
Gets the decal's mapping.
| |
MapToInside |
Used only when mapping is cylindrical or spherical.
| |
Origin |
Gets the origin of the decal in world space.
| |
Projection |
Gets the decal's projection. Used only when mapping is planar.
| |
Radius |
Gets the radius of the decal. Only used when mapping is cylindrical or spherical.
| |
StartLatitude |
Gets the start angle of the decal's arc of latitude or 'horizontal sweep'. This is actually a LONGITUDINAL angle. Only used when mapping is cylindrical or spherical.
This is deprecated in favor of HorzSweep().
| |
StartLongitude |
Gets the start angle of the decal's arc of longitude or 'vertical sweep'. This is actually a LATITUDINAL angle. Only used when mapping is spherical.
This is deprecated in favor of VertSweep().
| |
TextureInstanceId |
Gets the texture ID for this decal.
| |
Transparency |
Gets the decal's transparency in the range 0 to 1.
| |
VectorAcross |
Gets the vector across. For cylindrical and spherical mapping, the vector is unitized.
| |
VectorUp |
For cylindrical and spherical mapping, the vector is unitized.
|
Name | Description | |
---|---|---|
ConstPointer | ||
Create | ||
CustomData |
Gets decal custom data for the current renderer. See Rhino.Plugins.RenderPlugIn.ShowDecalProperties.
| |
CustomData(Guid) |
Gets decal custom data for a specified renderer. See Rhino.Plugins.RenderPlugIn.ShowDecalProperties.
| |
Dispose | Releases all resources used by the Decal | |
Dispose(Boolean) | Releases the unmanaged resources used by the Decal and optionally releases the managed resources | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | (Overrides ObjectFinalize.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetTextureMapping |
The TextureMapping of the decal.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
HorzSweep |
Gets the angles of the decal's arc of 'horizontal sweep'. Replaces StartLatitude and EndLatitude.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
NonConstPointer | ||
TextureRenderCRC(TextureRenderHashFlags) | Obsolete.
This method is deprecated in favor of TextureRenderHash below.
| |
TextureRenderCRC(TextureRenderHashFlags, LinearWorkflow) | Obsolete.
This method is deprecated in favor of TextureRenderHash below.
| |
TextureRenderHash(CrcRenderHashFlags) | Obsolete.
Get the texture render hash for the referenced texture using the specified CrcRenderHashFlags.
| |
TextureRenderHash(CrcRenderHashFlags, LinearWorkflow) | Obsolete.
Get the texture render hash for the referenced texture using the specified CrcRenderHashFlags
and linear workflow.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetColor | Obsolete.
Blend color with the decal color at a given point.
| |
UVBounds |
The UV bounds of the decal. Only used when mapping is UV.
| |
VertSweep |
Gets the angles of the decal's arc of 'vertical sweep'. Replaces StartLongitude and EndLongitude.
|