Packageaway3d.materials.methods
Classpublic class MethodVO
InheritanceMethodVO Inheritance Object

MethodVO contains data for a given method for the use within a single material. This allows methods to be shared across materials while their non-public state differs.



Public Properties
 PropertyDefined By
  fragmentConstantsIndex : int
MethodVO
  fragmentData : Vector.<Number>
MethodVO
  needsGlobalFragmentPos : Boolean
MethodVO
  needsGlobalVertexPos : Boolean
MethodVO
  needsNormals : Boolean
MethodVO
  needsProjection : Boolean
MethodVO
  needsSecondaryUV : Boolean
MethodVO
  needsTangents : Boolean
MethodVO
  needsUV : Boolean
MethodVO
  needsView : Boolean
MethodVO
  numLights : int
MethodVO
  repeatTextures : Boolean
MethodVO
  secondaryFragmentConstantsIndex : int
MethodVO
  secondaryTexturesIndex : int
MethodVO
  secondaryVertexConstantsIndex : int
MethodVO
  texturesIndex : int
MethodVO
  useLightFallOff : Boolean = true
MethodVO
  useMipmapping : Boolean
MethodVO
  useSmoothTextures : Boolean
MethodVO
  vertexConstantsIndex : int
MethodVO
  vertexData : Vector.<Number>
MethodVO
Public Methods
 MethodDefined By
  
Creates a new MethodVO object.
MethodVO
  
reset():void
Resets the values of the value object to their "unused" state.
MethodVO
Property Detail
fragmentConstantsIndexproperty
public var fragmentConstantsIndex:int

fragmentDataproperty 
public var fragmentData:Vector.<Number>

needsGlobalFragmentPosproperty 
public var needsGlobalFragmentPos:Boolean

needsGlobalVertexPosproperty 
public var needsGlobalVertexPos:Boolean

needsNormalsproperty 
public var needsNormals:Boolean

needsProjectionproperty 
public var needsProjection:Boolean

needsSecondaryUVproperty 
public var needsSecondaryUV:Boolean

needsTangentsproperty 
public var needsTangents:Boolean

needsUVproperty 
public var needsUV:Boolean

needsViewproperty 
public var needsView:Boolean

numLightsproperty 
public var numLights:int

repeatTexturesproperty 
public var repeatTextures:Boolean

secondaryFragmentConstantsIndexproperty 
public var secondaryFragmentConstantsIndex:int

secondaryTexturesIndexproperty 
public var secondaryTexturesIndex:int

secondaryVertexConstantsIndexproperty 
public var secondaryVertexConstantsIndex:int

texturesIndexproperty 
public var texturesIndex:int

useLightFallOffproperty 
public var useLightFallOff:Boolean = true

useMipmappingproperty 
public var useMipmapping:Boolean

useSmoothTexturesproperty 
public var useSmoothTextures:Boolean

vertexConstantsIndexproperty 
public var vertexConstantsIndex:int

vertexDataproperty 
public var vertexData:Vector.<Number>

Constructor Detail
MethodVO()Constructor
public function MethodVO()

Creates a new MethodVO object.

Method Detail
reset()method
public function reset():void

Resets the values of the value object to their "unused" state.