Difference between revisions of "DOMCurveKeyframeExtended"

From Virtual World Web Wiki
Jump to: navigation, search
(Documentation for the DOMCurveKeyframeExtended class)
(Documentation for the DOMCurveKeyframeExtended class)
Line 7: Line 7:
  
 
===Properties===
 
===Properties===
:{{CSharp|Single Time {get; set;} // Via attribution [[DOMCurveKeyframe]] }}
+
:{{CSharp|Single Time {get; set;} // Via attribution on DOMCurveKeyframe }}
  
 
===Events===
 
===Events===

Revision as of 13:40, 24 October 2016

Represents a DOMCurveKeyframe in JavaScript

Remarks [edit]

Properties

Single Time {get; set;} // Via attribution on DOMCurveKeyframe

Events

OnPlayerCrossed(EventHandler<FlexibleEventArgs>)
Fires when this keyframe is crossed by a player

Methods

DOMObjectExtended CreateBoolValue(string name, bool value)
Creates a new DOMCurveValue node with the specified name, and bool value
DOMObjectExtended CreateColorValue(string name, Color32 value)
Creates a new DOMCurveValue node with the specified name, and Color32 value
DOMObjectExtended CreateFloatValue(string name, Single value)
Creates a new DOMCurveValue node with the specified name, and float value
DOMObjectExtended CreateIntValue(string name, int value)
Creates a new DOMCurveValue node with the specified name, and int value
DOMObjectExtended CreatePointValue(string name, JSVector3 value)
Creates a new DOMCurveValue node with the specified name, and Point3D value
DOMObjectExtended CreateResourceValue(string name, ResourceValue value)
Creates a new DOMCurveValue node with the specified name, and ResourceValue value
DOMObjectExtended CreateStringValue(string name, string value)
Creates a new DOMCurveValue node with the specified name, and string value
DOMObjectExtended CreateValue(string name)
Creates a new DOMCurveValue node with the specified name, you must set a property on it with an appropriate value