setValueDirectSetNeedsUpdate method

dynamic setValueDirectSetNeedsUpdate(
  1. dynamic buffer,
  2. dynamic offset
)

Implementation

setValueDirectSetNeedsUpdate(buffer, offset) {
  // this.targetObject[ this.propertyName ] = buffer[ offset ];
  targetObject.setProperty(propertyName, buffer[offset]);
  targetObject.needsUpdate = true;
}