OOF2: The Manual
Name
OOF.LoadData.Property.Color — Assign a decorative color to a material. Used internally in data files.
Synopsis
OOF.LoadData.Property.Color(name,color)
Details
- Parent Menu: OOF.LoadData.Property
-
Callback: function
PropertyManager.creatorcallbackin moduleoof2.engine.propertyregistration -
Threadability:
Threadable -
Parameters:
name- Name of Property. Type: A character string.
color- Type: An object of the
Colorclass.
Description
Create an instance of the material Property
Color. This command is only used in data
files. Data files containing Properties are created by the
Materials,
Microstructure,
Skeleton
and Mesh
commands in the OOF.File.Save menu.
The name argument should be
set to the name of a named Property or to an empty string
('') when setting parameters in an
unnamed Property.
Color is the one property that has no physical
signifigance in OOF2. It merely provides a color for displaying
a Material in the Graphics
window. The DisplayMethods
that use the Color Property are MicrostructureMaterialDisplay, SkeletonMaterialDisplay, and MeshMaterialDisplay.
/* OOF home */ /* OOF2 home */ /* Send mail to the OOF Team */




